@charset "UTF-8";
@import "base.less";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  font-family: "SimHei SimSun";
  font-size: 14px;
  box-sizing: border-box;
}

html,
body {
  color: #333;
  height: 100%;
}

header {
  height: 75px;
  padding-bottom: 5px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    list-style: none;
  }
}

label {
  font-weight: 400 !important;
  margin: 0 !important;
}

a {
  color: @blue;
  text-decoration: none !important;

  &:hover {
    color: @blue;
    text-decoration: none !important;
  }

  &.link {
    display: inline-block;

    &:hover {
      text-decoration: underline !important;
    }
  }
}

.hide {
  display: none !important;
}
.opacity0 {
  opacity: 0;
}
.textarea {
  min-height: 100px;
}

.label-block {
  height: 32px;
  line-height: 32px;
}
.curPointer {
  cursor: pointer;
}
.relative {
  position: relative;
}
.disabled {
  color: #b1b1b1 !important;
  cursor: not-allowed !important;
}
.add-on {
  position: absolute;
  right: 10px;
  top: 5px;
  color: @gray_99;
}
.div_input {
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #eeeeee;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 32px;
  line-height: 32px;
}

/*修改bootstrap的UI*/
.alert {
  position: fixed;
  width: auto;
  z-index: -5;
  width: 400px;
  margin-left: -200px;
  word-break: break-all;
  top: 10%;
  left: 50%;
}

.btn {
  .iconfont {
    font-size: 12px;
    margin-right: 5px;
    float: left;
  }

  .text {
    float: left;
  }
}

.btn-sm {
  padding: 0 12px !important;
  line-height: 28px !important;
}

.btn-info {
  background-color: @blue;
  border-color: @blue;

  &:hover {
    background-color: @themeBlueColor;
    border-color: @themeBlueColor;
  }

  &[disabled]:hover {
    background-color: @themeBlueColor;
    border-color: @themeBlueColor;
  }

  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
    background-color: @themeBlueColor !important;
    border-color: none !important;
  }
}

.btn-primary {
  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
    background-color: @dark_blue !important;
    border-color: none !important;
  }
}

.btn-success {
  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
  }
}

.btn-default {
  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
  }
}

.btn-warning {
  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
  }
  &.btn-empty {
    background: rgb(249, 243, 232) !important;
    color: @orange !important;
    border-color: @orange !important;
  }
}
.btn-disabled {
  background: @gray_f5 !important;
  color: #b1b1b1 !important;
  border-color: @gray_f5 !important;
  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
  }
}
.btn-danger {
  &:focus,
  &.focus,
  &:active:hover,
  &:active:focus,
  &.active:hover,
  &.active:focus {
    outline: none;
  }
  &.btn-empty {
    background: rgb(249, 234, 232) !important;
    color: @red !important;
    border-color: @red !important;
  }
}
.tableMoreOper {
  position: relative;
  display: inline-block;
  height: 100%;
  padding: 0 10px;
  .moreOper {
    // line-height: 100%;
  }
  .tableOperList {
    position: fixed;
    z-index: 1000;
    background: #fff;
    width: 150px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    top: 22px;
    right: 0;
    padding: 10px 0;

    li {
      display: block;
      width: 150px;
      line-height: 32px;
      height: 32px;
      padding: 0 15px;
      text-align: left;
      cursor: pointer;

      &:hover {
        color: @blue;
      }
    }
  }
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 1px;
}
/*弹窗*/
.modal-dialog {
  &.fix-modal-dialog {
    .modal-body {
      max-height: calc(100vh - 166px);
      overflow: hidden;
      overflow-y: auto;
    }
  }

  .modal-header {
    background: @gray_f1;
    border-bottom: 1px solid @gray_e4;
    padding: 10px 15px;
    line-height: 20px;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
    .close {
      line-height: 100%;
    }
  }
  .modal-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
  }
}
.layui-table,
.layui-table-view {
  margin: 0 0 15px;
  .layuiTableOperItem {
    display: inline-block;
    padding: 0 10px;
    line-height: 15px;
    border-right: 1px solid @gray_e4;
    color: @blue;
    cursor: pointer;
  }
  .laytable-cell-numbers {
    text-align: left !important;
    padding: 0 15px !important;
  }
}

.layui-form-checkbox {
  i {
    &:hover {
      border-color: @blue !important;
    }
  }
}

.layui-form-checked i {
  border-color: @blue !important;
  background: @blue !important;
}
.layui-form-radioed i {
  color: @blue;
  &:hover {
    color: @blue !important;
  }
}
.layui-form-radio i {
  &:hover {
    color: @blue !important;
  }
}
.layui-form-radioed i {
  color: @blue;
  &:hover {
    color: @blue !important;
  }
}
.layui-laypage {
  float: right;

  a:hover {
    color: @blue;
  }

  input,
  select {
    &:focus {
      border-color: @blue !important;
    }
  }

  .layui-laypage-curr {
    .layui-laypage-em {
      background-color: @blue;
    }
  }
}

.layui-laypage .fixed-table-pagination {
  .dropdown-toggle {
    padding: 0 20px 0 12px !important;
    height: 30px !important;
    line-height: 30px !important;
    position: relative;

    .caret {
      position: absolute;
      top: 12px;
      right: 5px;
    }
  }

  .dropdown-menu {
    > .active {
      > a {
        background-color: @blue !important;
      }
    }
  }
}

.layui-table-page {
  .layui-table-pageview {
    float: right;
  }
  > li {
    > a {
      color: @gray_66;
      padding: 0 !important;
      height: 30px !important;
      width: 30px;
      text-align: center;
      line-height: 30px !important;

      &:hover {
        color: @blue;
        background-color: @white;
        border-color: @blue;
      }
    }

    &.page-pre,
    &.page-next {
      a {
        min-width: 60px;
        width: auto;
        font-size: 12px;
      }
    }
  }

  > .active {
    > a {
      color: @white !important;
      background-color: @blue !important;
      border-color: @blue !important;
    }
  }
}
.layui-form-checked {
  &[lay-skin="primary"] {
    i {
      border-color: @blue !important;
      background: @blue !important;
    }
  }
}
/*layer加载*/
.layui-layer-loading {
  .layui-layer-loading0,
  .layui-layer-loading1,
  .layui-layer-loading2,
  .layui-layer-loading3 {
    background-position: top center !important;
    text-align: center;
    padding-top: 40px;
    width: auto !important;
  }
}
.layui-layer-btn {
  .layui-layer-btn0 {
    border-color: @blue;
    background-color: @blue;
    color: @white;
  }
}
.layui-layer {
  .layui-layer-content {
    padding: 15px;
  }
}
.layui-comtip {
  cursor: pointer;
  margin-left: 5px;
  &:hover {
    color: @blue;
  }
}
.myScroll {
  height: 100%;
  overflow: hidden;
  overflow-y: scroll;
}

/*布局*/
.flex {
  display: flex;
  display: -webkit-flex;

  &.flex-col {
    flex-direction: column;
    > .flex-1 {
      height: 50%;
      width: 100%;
    }
  }

  &.flex-row {
    /*水平*/
    flex-direction: row;
  }

  &.wrap {
    flex-wrap: wrap;
  }

  &.justify-center {
    /*水平居中*/
    justify-content: center;
  }

  &.justify-between {
    justify-content: space-between;
  }

  &.justify-around {
    justify-content: space-around;
  }

  /*交叉轴*/
  &.items-center {
    /*垂直居中*/
    align-items: center;
  }

  &.items-stretch {
    /*充满*/
    align-items: stretch;
  }

  &.items-baseline {
    /*第一行文字的基准线*/
    align-items: baseline;
  }

  /*作用于多线轴*/
  &.content-center {
    align-content: center;
  }

  &.content-stretch {
    /*平分充满容器*/
    align-content: stretch;
  }

  &.content-between {
    align-content: space-between;
  }

  &.content-around {
    align-content: space-around;
  }

  .order0 {
    /*定义项目的排序,值越小越靠前*/
    order: 0; // 默认值0
  }

  .order1 {
    order: 1;
  }

  .order2 {
    order: 2;
  }

  .flex-1 {
    /*项目的放大比例*/
    flex-grow: 1; //默认值0
    width: 50%;
  }

  .flex-shrink1 {
    /*设置项目的缩小比例 默认值1 值为负值是无效*/
    flex-shrink: 1;
  }

  .flex-shrink0 {
    /*设置项目的缩小比例 默认值1 值为负值是无效*/
    flex-shrink: 0;
  }

  .basic {
    /*设置固定宽度*/
    flex-basis: auto;
  }

  .align-self {
    /*允许单个项目的对齐方式,默认继承 algin-items*/
    align-self: auto;
  }
}

.clearfix {
  &::after {
    content: "";
    clear: both;
  }

  &::before {
    content: "";
    clear: both;
  }

  display: block;
  clear: both;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.clamp {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;

  &.clamp1 {
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }

  &.clamp2 {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  &.clamp3 {
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }
}

.inline {
  display: inline-block;
}

.border0 {
  border: none !important;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.algin-center {
  text-align: center !important;
}

.algin-right {
  text-align: right !important;
}

.blue {
  color: @blue;
}
.yellow {
  color: @orange;
}
.red {
  color: @red;
}

.gray_333 {
  color: @gray_33;
}

.gray_444 {
  color: @gray_44;
}

.gray_555 {
  color: @gray_55;
}

.gray_666 {
  color: @gray_66;
}

.gray_999 {
  color: @gray_99 !important;
}

.gray_d6 {
  color: @gray_d6;
}

.gray_e6 {
  color: @gray_e6;
}

.gray_c6 {
  color: @gray_c6;
}

.fs12 {
  font-size: 12px !important;
}

.fs13 {
  font-size: 13px !important;
}

.fs14 {
  font-size: 14px !important;
}

.fs15 {
  font-size: 15px !important;
}

.fs16 {
  font-size: 16px !important;
}
.fs17 {
  font-size: 17px !important;
}
.fs18 {
  font-size: 18px !important;
}

.fs20 {
  font-size: 20px !important;
}

.fs30 {
  font-size: 30px !important;
}

.fs40 {
  font-size: 40px !important;
}

.fs24 {
  font-size: 24px !important;
}

.fs26 {
  font-size: 26px !important;
}
.blod {
  font-weight: bold !important;
}
.m-0 {
  margin: 0 !important;
}
.m-l-5 {
  margin-left: 5px !important;
}

.m-l-10 {
  margin-left: 10px !important;
}

.m-l-15 {
  margin-left: 15px !important;
}

.m-l-20 {
  margin-left: 20px !important;
}

.m-r-0 {
  margin-right: 0px !important;
}

.m-r-5 {
  margin-right: 5px !important;
}

.m-r-10 {
  margin-right: 10px !important;
}

.m-r-15 {
  margin-right: 15px !important;
}

.m-r-20 {
  margin-right: 20px !important;
}

.m-t-0 {
  margin-top: 0px !important;
}

.m-t-5 {
  margin-top: 5px !important;
}

.m-t-10 {
  margin-top: 10px !important;
}

.m-t-15 {
  margin-top: 15px !important;
}

.m-t-20 {
  margin-top: 20px !important;
}

.m-t-25 {
  margin-top: 25px !important;
}
.m-b-5 {
  margin-bottom: 5px !important;
}
.m-b-10 {
  margin-bottom: 10px !important;
}
.m-b-15 {
  margin-bottom: 15px !important;
}
.m-b-20 {
  margin-bottom: 20px !important;
}
.m-l-r-5 {
  margin: 0 5px !important;
}
.m-l-r-10 {
  margin: 0 10px !important;
}
.m-l-r-15 {
  margin: 0 15px !important;
}
.m-l-r-20 {
  margin: 0 20px !important;
}
.p-0 {
  padding: 0 !important;
}
.p-5 {
  padding: 5px !important;
}

.p-10 {
  padding: 10px !important;
}

.p-15 {
  padding: 15px !important;
}

.p-20 {
  padding: 20px !important;
}
.p-t-5 {
  padding-top: 5px !important;
}
.p-t-10 {
  padding-top: 10px !important;
}
.p-t-15 {
  padding-top: 15px !important;
}
.p-t-20 {
  padding-top: 20px !important;
}
.p-r-5 {
  padding-right: 5px !important;
}
.p-r-10 {
  padding-right: 10px !important;
}
.p-r-15 {
  padding-right: 15px !important;
}
.p-r-20 {
  padding-right: 20px !important;
}
.p-l-r-5 {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.p-l-r-10 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.p-l-r-15 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.p-l-r-20 {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.p-l-5 {
  padding-left: 5px !important;
}

.p-l-10 {
  padding-left: 10px !important;
}

.p-l-15 {
  padding-left: 15px !important;
}

.p-l-20 {
  padding-left: 20px !important;
}

.p-b-5 {
  padding-bottom: 5px !important;
}

.p-b-10 {
  padding-bottom: 10px !important;
}

.p-b-15 {
  padding-bottom: 15px !important;
}

.p-b-20 {
  padding-bottom: 20px !important;
}
.p-t-b-5 {
  padding: 5px 0 !important;
}
.p-t-b-10 {
  padding: 10px 0 !important;
}
.p-t-b-15 {
  padding: 15px 0 !important;
}
.p-t-b-20 {
  padding: 20px 0 !important;
}
.lineheight20 {
  line-height: 20px;
}
.lineheight30 {
  line-height: 30px;
}
.lineheight32 {
  line-height: 32px;
}
.pointer {
  cursor: pointer;
  user-select: none;

  &:hover {
    color: @blue;
  }
}
.notallowed {
  cursor: not-allowed !important;
}
.height60 {
  height: 60px;
}
.height50 {
  height: 50px;
}
.height40 {
  height: 40px;
}
.height100 {
  height: 100px;
}
.height200 {
  height: 200px;
}
.height300 {
  height: 300px;
}
.height400 {
  height: 400px;
}
.height240 {
  height: 240px;
}
.height360 {
  height: 360px;
}
.fullWidth {
  width: 100% !important;
}

.fullHeight {
  height: 100% !important;
}
.w300 {
  width: 300px !important;
}
.w360 {
  width: 360px !important;
}
.w400 {
  width: 400px !important;
}
.w240 {
  width: 240px !important;
}
.w200 {
  width: 200px !important;
}
.w150 {
  width: 150px !important;
}
.w120 {
  width: 120px !important;
}
.w100 {
  width: 100px !important;
}
.w90 {
  width: 90px !important;
}
.w80 {
  width: 80px !important;
}
.w60 {
  width: 60px !important;
}

/*自定义下拉选择组件*/
.select_input {
  position: relative;

  .input {
    padding-right: 30px;
  }
}

.bootstrap-select {
  .btn {
    vertical-align: top;
  }
}
.layui-tree-entry {
  height: auto !important;
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: @white;
  /* 滚动条宽度 */
}

/* 滚动条轨道样式 */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  height: 6px;
  width: 6px;
  background-color: #e8ecfd;
  /* 轨道背景色 */
}

/* 滚动条滑块样式 */
::-webkit-scrollbar-thumb {
  // background-color: #888; /* 滑块背景色 */
  height: 6px;
  width: 6px;
  border-radius: 10px;
  background: linear-gradient(to right, #333, #444);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

/* 滚动条滑块在鼠标悬停时的样式 */
::-webkit-scrollbar-thumb:hover {
  // background-color: #555; /* 悬停时滑块背景色 */
  background: linear-gradient(to right, #555555 0%, #666666 100%);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}

.scrollBox {
  overflow: hidden;
  &.scroll-y {
    overflow-y: auto;
  }
  &.scroll-x {
    overflow-x: auto;
  }
}

/*inpt 默认箭头*/
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7px !important;
}
